package com.gzist.elderlyserviceplatform.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Schema(name = "ActivityDTO", description = "公益活动接口参数")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActivityDTO implements Serializable {

    @Schema(accessMode = Schema.AccessMode.READ_ONLY)
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    private String id;

    @Schema(description = "活动名称")
    private String name;

    @Schema(description = "封面图片")
    private String cover;

    @Schema(description = "简介")
    private String summary;

    @Schema(description = "开始日期")
    private String startDate;

    @Schema(description = "结束日期")
    private String endDate;

    @Schema(description = "查看详情")
    private String detail;

    @Schema(description = "地址")
    private String address;
}